<template>
  <div class="index">
    <el-button type="primary" @click="open">index</el-button>
  </div>
</template>
<script setup>
const open = () => {
  ElNotification.success({
    title: 'Info',
    message: 'index',
  })
}
</script>
<style scoped>
.index{
  border: solid 2px;
}
</style>